/**
 * 
 */
package org.seckill.entry;


/**
 * 
 * @author yue
 * 2016年7月17日 下午10:57:42
 */
public class SysArea extends BaseEntity {
	
	private String areaName;
	private String areaCode;
	private Integer areaLevel;
	private String areaParent;
	
	public SysArea(){}
	
	public SysArea(String areaName, String areaCode, Integer areaLevel) {
		this.areaName = areaName;
		this.areaCode = areaCode;
		this.areaLevel = areaLevel;
	}
	/**
	 * @param id
	 */
	public SysArea(long id) {
		this.id = id;
	}

	public String getAreaName() {
		return areaName;
	}
	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}
	public String getAreaCode() {
		return areaCode;
	}
	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}
	public Integer getAreaLevel() {
		return areaLevel;
	}
	public void setAreaLevel(Integer areaLevel) {
		this.areaLevel = areaLevel;
	}

	public String getAreaParent() {
		return areaParent;
	}

	public void setAreaParent(String areaParent) {
		this.areaParent = areaParent;
	}

	@Override
	public String toString() {
		return "SysArea [areaName=" + areaName + ", areaCode=" + areaCode + "]";
	}
	
}
